package com.hkzhao.reportingsystem.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class News implements Serializable {
    private String newsId;

    private Date createTime;

    private String title;

    @ApiModelProperty(value = "操作的管理人员token")
    private String manageTokenId;

    private String text;

    private static final long serialVersionUID = 1L;

    public String getNewsId() {
        return newsId;
    }

    public void setNewsId(String newsId) {
        this.newsId = newsId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getManageTokenId() {
        return manageTokenId;
    }

    public void setManageTokenId(String manageTokenId) {
        this.manageTokenId = manageTokenId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", newsId=").append(newsId);
        sb.append(", createTime=").append(createTime);
        sb.append(", title=").append(title);
        sb.append(", manageTokenId=").append(manageTokenId);
        sb.append(", text=").append(text);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}